<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
	String path_bottom = request.getContextPath();
	String basePath_bottom = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path_bottom ;

%>
<!-- basic scripts -->

<!--[if !IE]> -->

<script type="text/javascript">
    window.jQuery || document.write("<script src='<%=basePath_bottom%>/resources/ui/js/jquery-2.0.3.min.js'>"+"<"+"/script>");
</script>

<!-- <![endif]-->

<!--[if IE]>
<script type="text/javascript">
window.jQuery || document.write("<script src='<%=basePath_bottom%>/resources/ui/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
</script>
<![endif]-->

<script type="text/javascript">
    if("ontouchend" in document) document.write("<script src='<%=basePath_bottom%>/resources/ui/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
</script>
<script src="<%=basePath_bottom%>/resources/ui/js/bootstrap.min.js"></script>

<!-- page specific plugin scripts -->

<script type="text/javascript" src="<%=basePath_bottom%>/resources/js/zxy-web.min.js"></script>

<!-- ace scripts -->

<script src="<%=basePath_bottom%>/resources/ui/js/jundu-elements.min.js"></script>
<script src="<%=basePath_bottom%>/resources/ui/js/jundu.min.js"></script>
<script src="<%=basePath_bottom%>/resources/ui/js/bootbox.min.js"></script>
<script src="<%=basePath_bottom%>/resources/ui/js/jquery.gritter.min.js"></script>

<!-- inline scripts related to this page -->

<script type="text/javascript">
    
    function initpage(){
//    	initmain();
    	
    	var pageurl = window.location.href;
    	if(pageurl.indexOf('/s/')!=-1) pageurl = pageurl.substring(pageurl.indexOf('/s/'));
    	if(pageurl.indexOf('/system/')!=-1) pageurl = pageurl.substring(pageurl.indexOf('/system/'));
		$(window.parent.document).find('iframe').each(function(i){
			var iframeurl = $(this).attr('src');
			if(iframeurl.indexOf('/s/')!=-1) iframeurl = iframeurl.substring(iframeurl.indexOf('/s/'));
			if(iframeurl.indexOf('/system/')!=-1) iframeurl = iframeurl.substring(iframeurl.indexOf('/system/'));
			
			if(iframeurl.trim()==pageurl.trim()){
				var clientheight = parent.document.documentElement.clientHeight;
				if(document.body.scrollHeight+30>(clientheight-130)) $(this).css('height',(document.body.scrollHeight+30)+"px");
				else $(this).css('height',(clientheight-130)+"px");
				
			}
		});
		
    }
    initpage();
</script>

<style>
	.userRoleMenuButton{
		padding: 10px 0px 10px 0px;
	}
	.pad-1{
		padding-top: 1px;
	}
	.pad-2{
		padding-top: 2px;
	}
	.pad-3{
		padding-top: 3px;
	}
	.pad-4{
		padding-top: 4px;
	}
	.pad-5{
		padding-top: 5px;
	}
	.pad-6{
		padding-top: 6px;
	}
	.pad-7{
		padding-top: 7px;
	}
	.pad-8{
		padding-top: 8px;
	}
	.pad-9{
		padding-top: 9px;
	}
	.pad-10{
		padding-top: 10px;
	}
	
	.padleft-30{
		padding-left: 30px;
	}
	.padleft-30mod{
		padding-left: 30%;
	}
	.padleft-40mod{
		padding-left: 40%;
	}
	.control-label{
		color: #666666;
	}
	.list-header{
		background-color: #639FDB;color: #ffffff;border: 0;
	}
	.list-body{
		background-color: #EFF3F8;border: 0;
	}
</style>

<div id="process_th_div" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel1" aria-hidden="true">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel1">填写退回意见</h3>
    </div>
    <div class="modal-body">
        <textarea rows="5" cols="50" style="width: 90%;" id="process_thyj"></textarea>
    </div>
    <div class="modal-footer">
        <button class="btn btn-primary" data-dismiss="modal" onclick="doUniChangeState('-3')">退回</button>
    </div>
</div>

<a href="#process_th_div" id="process_th" role="button" class="btn" data-toggle="modal" style="display: none;">审核退回</a>
